
package com.bk.model;

public class News {
	private int nid;
	private String title;
	public int getNid() {
	
		return nid;
	}
	public void setNid(int nid) {
	
		this.nid = nid;
	}
	public String getTitle() {
	
		return title;
	}
	public void setTitle(String title) {
	
		this.title = title;
	}
	@Override
	public String toString() {
		return "News [nid=" + nid + ", title=" + title + "]";
	}
	public News() {
		
		super();
		//TODO 
			
	}
	public News(int nid, String title) {
		super();
		this.nid = nid;
		this.title = title;
	}
	
	
	
	

}

	